package org.fuxian.dao;

import java.util.List;
import org.fuxian.model.Violation;
import org.fuxian.model.vo.ViolationVo;

public interface ViolationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Violation record);

    Violation selectByPrimaryKey(Integer id);

    List<Violation> selectAll();

    List<ViolationVo> selectAllVo();

    int updateByPrimaryKey(Violation record);
}